
package com.lastproject.ejb.dao;

import java.util.List;

import javax.ejb.Remote;

import com.lastproject.dto.QuestionOptionDTO;

@Remote
public interface QuestionOptionDAORemote {

	void create(QuestionOptionDTO entity);

	void edit(QuestionOptionDTO entity);

	void remove(QuestionOptionDTO entity);

	QuestionOptionDTO findById(int id);
	
	List<QuestionOptionDTO> findAll();
	
	List<QuestionOptionDTO> getQuestionOptionListByQuestionId(int id);
	
	List<QuestionOptionDTO> getQuestionOptionNumericListByQuestionId(int id);
		
}
